How to change build type?

Discuss emulation or program issues here.
Post Reply
User avatar
gamax92
Posts: 22
Joined: Mon Oct 28, 2013 2:07 pm

How to change build type?

Post by gamax92 » Sat Mar 14, 2015 1:05 pm

Horribly confused on how to actually change the build type when compiling:

Currently doing:

Code: Select all

mkdir build
cd build
cmake ..
make
Want to do a native build.

User avatar
Snowstorm64
Posts: 303
Joined: Sun Oct 20, 2013 8:22 pm

Re: How to change build type?

Post by Snowstorm64 » Sat Mar 14, 2015 3:12 pm

http://www.cmake.org/runningcmake/

You should launch CMakeSetup.exe (on Windows, or ccmake on Linux) before building with make.
OS: Debian GNU/Linux Jessie (8.0)
CPU: Intel i7 4770K @ 3.5 GHz
Build: AVX (compiled from git)

User avatar
MarathonMan
Site Admin
Posts: 692
Joined: Fri Oct 04, 2013 4:49 pm

Re: How to change build type?

Post by MarathonMan » Sun Mar 15, 2015 10:38 am

cmake -DCMAKE_BUILD_TYPE=Native <path>

or

cmake/ccmake -i <path>
select "Native" using ncurses GUI.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest